package org.datastealer.bean.mysql;

import lombok.Data;
import lombok.EqualsAndHashCode;
import org.datastealer.bean.Table;

import java.math.BigInteger;
import java.util.Date;

/**
 * Note：
 *
 * @author ：mengjw
 * @description：
 * @date ：Created in 2020/9/13
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class MysqlTable extends Table {

    private static final long serialVersionUID = -4857284197795942797L;

    /**
     * 表所属的schema
     */
    private String tableSchema;
    /**
     * 类型：BASE TABLE / SYSTEM VIEW / VIEW
     */
    private String tableType;
    /**
     * 引擎：InnoDB / MEMORY / PERFORMANCE_SCHEMA
     */
    private String engine;
    /**
     * 行数
     */
    private BigInteger tableRows;
    /**
     * 创建时间
     */
    private Date createTime;
    /**
     * 更新时间
     */
    private Date updateTime;
    /**
     * 校对规则
     */
    private String tableCollation;

}